POV-Ray : Newsgroups : povray.general : nan (not a number) : nan (not a number) Server Time
28 Jun 2024 01:51:02 EDT (-0400)
  nan (not a number)  
From: Daniele Varrazzo
Date: 14 Apr 1999 11:35:50
Message: <3714a7c6.0@news.povray.org>
vnormalize (<0, 0, 0>) isn't matematically defined... but POV-Ray 3.1a
(windows) returns a "perfectly valid" <nan, nan, nan> vector... it's a sin
that there isn't any IsNan() function or something like that to recognize
it. And if i use this vector in any object the perser locks only while
creating light buffers.
I think vnormalize (<0, 0, 0>) should return an error in parsing time, and
POV should be compiled ignoring them.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.